package com.asset.modules.system.service;

import com.asset.modules.system.model.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author asset
 * @since 2020-08-13
 */
public interface RoleService extends IService<Role> {

    List<String> removeByIdsWithChecking(Collection<? extends Serializable> idList);

    Role getRoleById(String id);

    List<Role> getAll();

    boolean isExist(String column, String name);
}
